<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<!DOCTYPE   html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title>后台管理 - 易买网</title>
    <link type="text/css" rel="stylesheet" href="css/style.css" />
    <script type="text/javascript" src="scripts/function-manage.js"></script>
    <script type="text/javascript" src="scripts/jquery-1.8.3.js"></script>
</head>
<body>
<div class="main" style="width: 900px; margin:0 auto">
    <h2>欢迎${Curr_User.username}</h2><a href="news-view.jsp" target="_parent"><h2>查看更多消息</h2></a>
    <div class="bdsharebuttonbox"><a href="#" class="bds_more" data-cmd="more">分享到：</a><a href="#" class="bds_qzone" data-cmd="qzone" title="分享到QQ空间">QQ空间</a><a href="#" class="bds_tsina" data-cmd="tsina" title="分享到新浪微博">新浪微博</a><a href="#" class="bds_tqq" data-cmd="tqq" title="分享到腾讯微博">腾讯微博</a><a href="#" class="bds_renren" data-cmd="renren" title="分享到人人网">人人网</a><a href="#" class="bds_weixin" data-cmd="weixin" title="分享到微信">微信</a></div>
    <script>window._bd_share_config={"common":{"bdSnsKey":{},"bdText":"","bdMini":"2","bdMiniList":false,"bdPic":"","bdStyle":"0","bdSize":"16"},"share":{"bdSize":16},"image":{"viewList":["qzone","tsina","tqq","renren","weixin"],"viewText":"分享到：","viewSize":"16"},"selectShare":{"bdContainerClass":null,"bdSelectMiniList":["qzone","tsina","tqq","renren","weixin"]}};with(document)0[(getElementsByTagName('head')[0]||body).appendChild(createElement('script')).src='http://bdimg.share.baidu.com/static/api/js/share.js?v=89860593.js?cdnversion='+~(-new Date()/36e5)];</script>
    <div class="manage">
        <h1>${news.entitle}</h1>
        <div text-align="right">${news.encreatetime}</div>
        <div></div>
        <p>${news.encontext}</p>
        <a href="GetProductById?epid=${news.referproduct}" target="_blank" onclick="return result(${news.referproduct})" ><div>点击图片或点我可跳转至商品连接</div></a>
        <a href="GetProductById?epid=${news.referproduct}" target="_blank"  onclick="return result(${news.referproduct})"><img src="fileup/${news.pic}" width="600px" height="500px"></a>

    </div>
</div>
<div class="clear"></div>
</div>
<div id="footer">
    Copyright &copy; 2018 云和数据 All Rights Reserved. 京ICP证1000001号
</div>
</body>
</html>
<script type="text/javascript">


    function result(data) {
        if (data!=0){
            return true;
        } else{
            return false;
        }
    }
</script>